#ifndef _UseUtility_H
#define _UseUtility_H

#include "utility.h"
#include "MessageBoxTimeout.h"
#include "staticex.h"
#include "DialogEx.h"
#include "IniFile.h"
#include "ExcelFile.h"
#include "AccessFile.h"
#include "0x020x03Queue.h"
#include "ComPort.h"
#include "ComPortEx.h"
#include "CSVFile.h"
#include "QNetVarible.h"

#ifndef SAFE_DELETE
#define SAFE_DELETE( ptr ) if ( ptr ) { delete ptr, ptr = NULL; }
#endif

#ifndef SAFE_DELETE_ARRAY
#define SAFE_DELETE_ARRAY( ptr ) if ( ptr ) { delete[] ptr, ptr = NULL; }
#endif

#ifndef _UTILITYEXT
#ifdef _DEBUG
#pragma comment(lib, "lib/utilityD.lib")
#else
#pragma comment(lib, "lib/utility.lib")
#endif
#endif

#endif